package com.wlz.demo;

import javax.swing.*;

/**
 * 员工类
 */
public class Employee {

    /**
     * 员工编号
     */
    private Integer id;

    /**
     * 员工姓名
     */
    private String name;

    /**
     * 基本工资
     */
    private Double basicWage;

    /**
     * 岗位 1：项目经理 2：程序员
     */
    private Integer type;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getBasicWage() {
        return basicWage;
    }

    public void setBasicWage(Double basicWage) {
        this.basicWage = basicWage;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    /**
     *  计算工资
     * @return
     */
    public String calculateSalary() {
        return null;
    }
}
